@import '~taro-ui/dist/style/components/float-layout.scss';

.CartSold {
  .at-float-layout {
    display: flex;
    align-items: center;
  }

  .at-float-layout .layout-page__content {
    min-height: 0 !important;
    max-height: unset !important;
    padding: 0 !important;
  }

  .layout-body,
  .at-float-layout__container,
  .layout-body__content {
    min-height: 0 !important;
    max-height: unset !important;
    padding: 0 !important;
  }

  .at-float-layout__container {
    bottom: unset;
    width: auto;

    margin: 0 23px;
    background: #ffffff;
    border-radius: 20px !important;
  }

  .at-float-layout__overlay {
    background: rgba(0, 0, 0, 0.5);
  }

  .close {
    position: absolute;

    top: 21px;
    right: 21px;

    width: 54px;
    height: 54px;
  }

  .sold-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 45px;
    margin-top: 60px;

    margin-bottom: 50px;
    color: #333333;
    font-weight: bold;
    font-size: 32px;
    line-height: 45px;
  }

  .product-list {
    display: flex;
    flex-direction: column;
    padding: 0 54px;

    .product {
      position: relative;
      display: flex;

      margin-bottom: 34px;

      &:last-child {
        margin-bottom: 0;
      }

      .product-image,
      .gIcon {
        width: 118px;
        height: 118px;
        border-radius: 10px;
      }

      .product-image {
        margin-right: 20px;
      }

      .product-base {
        .product-name {
          display: inline-block;
          max-width: 364px;
          height: 40px;

          overflow: hidden;
          color: rgba(0, 0, 0, 0.85);
          font-weight: 400;
          font-size: 28px;
          line-height: 40px;
          white-space: nowrap;
          text-overflow: ellipsis;
          word-break: break-all;
        }

        .product-sku {
          height: 28px;
          color: rgba(0, 0, 0, 0.5);
          font-weight: 400;
          font-size: 20px;
          line-height: 28px;
        }

        .product-price {
          height: 42px;

          margin-top: 10px;
          color: rgba(0, 0, 0, 0.85);
          font-weight: bold;
          font-size: 24px;
          line-height: 33px;
        }
      }

      .product-number-sel {
        position: absolute;
        top: 80px;
        right: 0;
        height: 42px;
        color: rgba(0, 0, 0, 0.85);
        font-weight: bold;
        font-size: 30px;
        line-height: 42px;
      }
    }
  }

  .action-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 620px;
    height: 90px;
    margin: 60px 42px 60px 42px;
    background: #6d86c4;
    border-radius: 45px;

    .action-button-txt {
      color: #ffffff;
      font-weight: bold;
      font-size: 28px;
    }
  }
}
